package com.eight.clientcourse.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eight.clientcourse.vo.CourseVo;
import com.eight.clientcourse.vo.GuanZhuVo;
import com.eight.common.pojo.*;

import java.util.List;

/**
 * @program: qy8-education1
 * @description:
 * @author: 张亚祥
 * @create: 2023-06-02 16:24
 **/
public interface ClientCrouseService {
    List<EduSubject> findCourse();

    Page<EduCourse> findPage(Integer currentSize, Integer pageSize, CourseVo courseVo);

    List<EduVideo> findVideo(String id);

    List<EduCourse> findTeacherByMobile(String id,String mobile);

    EduCourse queryAllCourseAndTeacherName(String id);

    TbMember queryMemberStatus(String mobile);

    EduCourse findFavoriteCourse(String courseId,String memberId);

    int addFavoritescourse(TbShoucangCourse tbShoucangCourse);

    int deleteFavoriteCourse(TbShoucangCourse tbShoucangCourse);

    int insertPlayHistoryByCourseId(String HuiYuanId,String videoId);

}
